package com.pingan.haofang.searchcloud.monitor.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 搜索云预警邮件发送历史
 *
 * @author EX-ZHOUYONG005
 * @date 2018/10/22
 * @since 1.0.0
 */
@Entity
@Table(name = "t_dashboard_warning_history")
public class DashboardWarningHistory {

    /**
     * 自增id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    private Long id;

    /**
     * 索引id
     */
    @Column(name = "index_id")
    private Long indexId;


    /**
     * 索引名称
     */
    @Column(name = "index_name")
    private String indexName;

    /**
     * 项目名称id
     */
    @Column(name = "project_id")
    private Long projectId;


    /**
     * 项目名称
     */
    @Column(name = "project_name")
    private String projectName;

    /**
     * 预警配置id
     */
    @Column(name = "config_id")
    private Long configId;

    /**
     * 触发条件
     */
    @Column(name = "warning_trigger")
    private String warningTrigger;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIndexId() {
        return indexId;
    }

    public void setIndexId(Long indexId) {
        this.indexId = indexId;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getConfigId() {
        return configId;
    }

    public void setConfigId(Long configId) {
        this.configId = configId;
    }

    public String getWarningTrigger() {
        return warningTrigger;
    }

    public void setWarningTrigger(String warningTrigger) {
        this.warningTrigger = warningTrigger;
    }
}
